// ==UserScript==
// @name         关闭阿里云提示的没有权限的弹窗
// @namespace    http://tampermonkey.net/
// @version      2024-08-07
// @description  try to take over the world!
// @author       You
// @match        https://saenext.console.aliyun.com/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=aliyun.com
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    // Your code here...
    const interval = self.setInterval(function () {
        for (let item1 of document.getElementsByClassName('sc-19d1753-0 CB-gcCqd')) {
            item1.remove()
        }
        for (let item2 of document.getElementsByClassName('sc-wwos5d-0 CB-kOeABz J-console-base-error-prompt')) {
            item2.remove()
        }
    }, 150);
})();
